<?php
class mod_news extends model{
	
	function homenews(){
		$sql = array(
			'select' => 'id, title, pubtime',
			'from' => 'news',
			'where' => 'deleted = 0',
			'order by' => 'id desc',
			'limit' => '4'
		);
		return 'Home_News';
		//return $this->db->query_all($sql);
	}
}
?>
